import {getTerminationPaymentDate} from '@/api/calc/otcOption/calc'

/*
* 获取一个定价实际日期
* */
export async function getTradeDay(calDay) {
  if (calDay) {
    let data = {
      'calDay': calDay
    }
    getTerminationPaymentDate(data).then(response => {
      if (response.code == -1) {

      } else {
        return response.result.CAL_DAY
      }
    })
  }
}



